package com.mmdccj.yugu.service.impl;

import com.mmdccj.yugu.mapper.TestMapper;
import com.mmdccj.yugu.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: star_
 * @date: 2023-11-22 21:57
 */
@Service
public class TestServiceImpl implements TestService {
    // 自动注入TestMapper实例
    @Autowired
    private TestMapper testMapper;

    /**
     * 测试方法，调用TestMapper的test方法
     *
     * @return int 返回测试结果
     */
    @Override
    public int test() {
        return testMapper.test();
    }
}
